package leetcode;

/**
 * Created by Ghost on 2014/10/13 0013.
 */
public class Search_in_Rotated_Sorted_Array {
    public int search(int[] A, int target) {
        for(int i=0;i<A.length;i++){
            if(A[i] == target)
                return i;
        }
        return -1;
    }
}
